package com.ruoyi.workflow.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.Department;
import com.ruoyi.workflow.domain.GoodsCategory;
import org.apache.ibatis.annotations.Param;

/**
 * 物品分类管理信息Mapper接口
 *
 * @author xiaodeng
 * @date 2022-11-27
 */
public interface GoodsCategoryMapper extends BaseMapper<GoodsCategory> {

  /**
   * 查询物品分类管理信息列表
   *
   * @param goodsCategory 物品分类管理信息
   * @return 物品分类管理信息集合
   */
  List<GoodsCategory> selectGoodsCategoryList(GoodsCategory goodsCategory);

  List<GoodsCategory> selectChildrenByParentId(@Param("id") Long id);
}
